package com.demo.android.endi.content.provider;

public interface RestApi<R> extends AsyncCallback<R>{

	public R getResult();
	
	/**
	 * Return the Runnable object that will call the RESTAPI generated code 
	 * 
	 * @param queryTag unique tag that identifies this request.
	 *   
	 * @return
	 */
	Runnable newQueryTask(String queryTag, String restURL);
}
